﻿using Gl.SettingsManager;
using ClassMedataBrowser.Domain;

namespace ClassMetadataBrowser.ToolControls
{
	public class SolutionFilesSettings
	{
		public SolutionFilesSettings() { SolutionFilesColumns = new ColumnsDescriptor(); }

		[SettingProperty]
		public int ColumnFileNameWidth
		{
			get;
			set;
		}

		[SettingProperty]
		public int ColumnProjectNameWidth
		{
			get;
			set;
		}

		[SettingProperty]
		public int ColumnFullPathWidth
		{
			get;
			set;
		}

		[SettingProperty]
		public string SearchCriteria
		{
			get;
			set;
		}

		[SettingProperty(".cs,.xml,.resx,.config,.js")]
		public string Extensions
		{
			get;
			set;
		}

		[SettingProperty]
		public string CreteriaHistory
		{
			get;
			set;
		}

		//[SettingProperty]
		public ColumnsDescriptor SolutionFilesColumns
		{
			get;
			set;
		}

		[SettingProperty]
		public int SearchModeIndex
		{
			get;
			set;
		}
	}
}
